package cn.zwx.eureka;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @description 注册中心
 * @author zhangwenxue
 * @createTime 2020/10/15 9:50
 **/
@SpringBootApplication
@EnableEurekaServer
public class EurekaServiceApplication {

    private static final Logger logger =  LoggerFactory.getLogger(EurekaServiceApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(EurekaServiceApplication.class, args);
        logger.info("注册中心服务启动成功!!!");
    }

}
